<html>
<head><meta charset="utf-8"><title>Problem with cargo-package · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Problem.20with.20cargo-package.html">Problem with cargo-package</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="242447250"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Problem%20with%20cargo-package/near/242447250" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nbiba Bedis <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Problem.20with.20cargo-package.html#242447250">(Jun 12 2021 at 12:13)</a>:</h4>
<p>Hello,<br>
I have a project (workspace) that builds fine, but cargo package fails, it somehow finds a dependency on crossterm 0.19.0 while its not used at all (crossterm 0.20.0 is used), cargo tree and cargo.lock both contains the correct recent crossterm version, I'm not sure where cargo package is picking up the old version?</p>



<a name="242447825"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/Problem%20with%20cargo-package/near/242447825" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nbiba Bedis <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/Problem.20with.20cargo-package.html#242447825">(Jun 12 2021 at 12:26)</a>:</h4>
<p>I figured it out, one crate in the workspace had the old crossterm dependency, so it needed to be published to cratesio for the changes to be picked up.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>